<?php
class Tv_Arte_Nav_Composite extends Tv_Arte_Nav_AComponent
{
    /**
     * $_children
     * @var Array
     */
    private $_children = Array();
    public function add(Tv_Arte_Nav_AComponent $componentData)
    {
        array_push($this->_children, $componentData);
        return $componentData;
    }
    public function hasChildren()
    {
        return true;
    }
    /**
     * getChildren
     * @return Array
     */
    public function getChildren()
    {
        return $this->_children;
    }
}